﻿using PeiYue.Common;
using System;
using System.Collections.Generic;
using System.Text;

namespace PeiYue.Model.Dto.Common
{
    public class ImgResDto
    {
        public long id { get; set; }
        public long ResId { get; set; }
        public string FileName { get; set; }

        public string ImgPath { get; set; }
        public string FileUrl { get { return (id > 0 ? (Appsettings.app(new string[] { "FileUrl" }) + ImgPath) : ""); } }

        public int ImgType { get; set; }
        public long update_user { get; set; }
        public long create_user { get; set; }

    }
}
